/*-------------------------------------------------------------------------

***************** Modification History ***********************************
   @doc
   @module Shift.h -  Header file for shift functionality |
   @end
   
$Log: /SoftPay/SPK2SIM/Source/Include/shift.h $ 
 ***************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/

#ifdef SHIFT_DEFINED

#ifndef SHIFT_H
#define SHIFT_H


int inShiftProcessing(void);
int inShiftAllRpts (TRANSACTION_OBJECT *pobTran);
int inPrintAllShiftReport(PRINTER_OBJECT *obPrinter, TRANSACTION_OBJECT *pobTran);
void vdSetAllShiftHeaderCondition (void);
void vdSetAllShiftMiddleCondition (void);
void vdSetAllShiftBottomCondition (TRANSACTION_OBJECT *pobTran, SHIFT_TOTS_REC *psrGrandTots);
int inUpdateShiftFlow (TRANSACTION_OBJECT *pobTran);
int inPrintAllShiftRecord(PRINTER_OBJECT *obPrinter, STT_REC srSTTRec, int inShift);
int inAddShiftFunctions(void);
int inGetShiftTemplate(void);
int SHIFT_CODE_CHECK(char * a,char *b,int *  c,char * d,unsigned char * e);

#endif 

#endif /* Shift defined */

